package cn.stylefeng.guns.modular.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.entity.IdjBanner;

/**
 * <p>
 * 轮播图 Mapper 接口
 * </p>
 *
 * @author TANGWJ
 * @since 2020-07-30
 */
public interface IdjBannerMapper extends BaseMapper<IdjBanner> {
	
	Page<Map<String, Object>> getList(Page page, @Param("bannerType") Integer bannerType);
	
	IdjBanner selectByKeyId(@Param("bannerId") Long bannerId);
	
	int setStatus(IdjBanner banner);
	
	int insert(IdjBanner banner);
	
	int delete(@Param("bannerId") Long bannerId);

}
